package STOCK;


import STOCK.STOCK;
import file.fileread.Getindexstock;
import file.fileread.Readindexstock;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.URL;
import java.net.URLConnection;
import java.sql.SQLException;
import java.util.Calendar;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JEditorPane;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
import mysql.connect;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author TOMMYNATO
 */
class ClockListener implements ActionListener {

   String index[]={"SET","SET50","SET100"};
   int count=0;
    @Override
    public void actionPerformed(ActionEvent e) {
        Calendar now = Calendar.getInstance();
            int h = now.get(Calendar.HOUR_OF_DAY);
            int m = now.get(Calendar.MINUTE);
            int s = now.get(Calendar.SECOND);
            int i = now.get(Calendar.MILLISECOND);
            STOCK.lbtxttime.setText("" + h + ":" + m + ":" + s);
           
            
    }
}
class Index1Listener implements ActionListener {

   
    @Override
    public void actionPerformed(ActionEvent e) {
       // NewClass newClass = new NewClass();
        System.out.println("Download Complete");
    }
}




    
    


